[INFO] fetching crate doubly-linked-list 0.2.0...
[INFO] checking doubly-linked-list-0.2.0 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate doubly-linked-list 0.2.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate doubly-linked-list 0.2.0 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] finished tweaking crates.io crate doubly-linked-list 0.2.0
[INFO] tweaked toml for crates.io crate doubly-linked-list 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 096471afcf4e74a21342db6f9f1822b5674a9a11a9492a85b2f19fc66e47738c
[INFO] running `Command { std: "docker" "start" "-a" "096471afcf4e74a21342db6f9f1822b5674a9a11a9492a85b2f19fc66e47738c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "096471afcf4e74a21342db6f9f1822b5674a9a11a9492a85b2f19fc66e47738c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "096471afcf4e74a21342db6f9f1822b5674a9a11a9492a85b2f19fc66e47738c", kill_on_drop: false }`
[INFO] [stdout] 096471afcf4e74a21342db6f9f1822b5674a9a11a9492a85b2f19fc66e47738c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e334309e4acef55d54e146330d6f83925cd5e33630759af1119957ced9c3fdf
[INFO] running `Command { std: "docker" "start" "-a" "5e334309e4acef55d54e146330d6f83925cd5e33630759af1119957ced9c3fdf", kill_on_drop: false }`
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking doubly-linked-list v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:78:35
[INFO] [stdout]     |
[INFO] [stdout] 78  |         list_add_in!($new, $head, (*$head).next);
[INFO] [stdout]     |                                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             (*$prev).next = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:78:35
[INFO] [stdout]     |
[INFO] [stdout] 78  |         list_add_in!($new, $head, (*$head).next);
[INFO] [stdout]     |                                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             (*$prev).next = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:85:33
[INFO] [stdout]     |
[INFO] [stdout] 85  |         list_add_in_tail!($new, (*$head).prev, $head);
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |         list_add_tail!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout] 96  |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |         list_add_tail!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |         list_add_tail!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:98:13
[INFO] [stdout]     |
[INFO] [stdout] 98  |             (*$next).prev = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |         list_add_tail!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:85:33
[INFO] [stdout]     |
[INFO] [stdout] 85  |         list_add_in_tail!($new, (*$head).prev, $head);
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |         list_add_tail!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout] 96  |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |         list_add_tail!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |         list_add_tail!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:98:13
[INFO] [stdout]     |
[INFO] [stdout] 98  |             (*$next).prev = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |         list_add_tail!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:78:35
[INFO] [stdout]     |
[INFO] [stdout] 78  |         list_add_in!($new, $head, (*$head).next);
[INFO] [stdout]     |                                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             (*$prev).next = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |         list_add!(to_list_head_ptr!(demo1.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:78:35
[INFO] [stdout]     |
[INFO] [stdout] 78  |         list_add_in!($new, $head, (*$head).next);
[INFO] [stdout]     |                                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             (*$prev).next = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |         list_add!(to_list_head_ptr!(demo2.list_head), to_list_head_ptr!(head));
[INFO] [stdout]     |         ---------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in` which comes from the expansion of the macro `list_add` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:135:16
[INFO] [stdout]     |
[INFO] [stdout] 135 |             if (*$entry).next == $entry || (*$entry).prev == $entry {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del_check` which comes from the expansion of the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:135:44
[INFO] [stdout]     |
[INFO] [stdout] 135 |             if (*$entry).next == $entry || (*$entry).prev == $entry {
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del_check` which comes from the expansion of the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:159:38
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (*(*$entry).next).prev = (*$entry).prev;
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:159:15
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (*(*$entry).next).prev = (*$entry).prev;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:160:38
[INFO] [stdout]     |
[INFO] [stdout] 160 |             (*(*$entry).prev).next = (*$entry).next;
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 |             (*(*$entry).prev).next = (*$entry).next;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             *$entry = ListHead {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |         list_del!(to_list_head_ptr!(demo2.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:135:16
[INFO] [stdout]     |
[INFO] [stdout] 135 |             if (*$entry).next == $entry || (*$entry).prev == $entry {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del_check` which comes from the expansion of the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:135:44
[INFO] [stdout]     |
[INFO] [stdout] 135 |             if (*$entry).next == $entry || (*$entry).prev == $entry {
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del_check` which comes from the expansion of the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:159:38
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (*(*$entry).next).prev = (*$entry).prev;
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:159:15
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (*(*$entry).next).prev = (*$entry).prev;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:160:38
[INFO] [stdout]     |
[INFO] [stdout] 160 |             (*(*$entry).prev).next = (*$entry).next;
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 |             (*(*$entry).prev).next = (*$entry).next;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             *$entry = ListHead {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |         list_del!(to_list_head_ptr!(demo1.list_head));
[INFO] [stdout]     |         --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_del` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:85:33
[INFO] [stdout]     |
[INFO] [stdout] 85  |         list_add_in_tail!($new, (*$head).prev, $head);
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |         list_add_tail!(to_list_head_ptr!(head2), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout] 96  |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |         list_add_tail!(to_list_head_ptr!(head2), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |         list_add_tail!(to_list_head_ptr!(head2), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:98:13
[INFO] [stdout]     |
[INFO] [stdout] 98  |             (*$next).prev = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |         list_add_tail!(to_list_head_ptr!(head2), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:85:33
[INFO] [stdout]     |
[INFO] [stdout] 85  |         list_add_in_tail!($new, (*$head).prev, $head);
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |         list_add_tail!(to_list_head_ptr!(head3), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout] 96  |             (*$new).next = $next;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |         list_add_tail!(to_list_head_ptr!(head3), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout] 97  |             (*$new).prev = $prev;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |         list_add_tail!(to_list_head_ptr!(head3), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/lib.rs:98:13
[INFO] [stdout]     |
[INFO] [stdout] 98  |             (*$next).prev = $new;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |         list_add_tail!(to_list_head_ptr!(head3), to_list_head_ptr!(head));
[INFO] [stdout]     |         ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `list_add_in_tail` which comes from the expansion of the macro `list_add_tail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doubly-linked-list` (lib test) due to 47 previous errors
[INFO] running `Command { std: "docker" "inspect" "5e334309e4acef55d54e146330d6f83925cd5e33630759af1119957ced9c3fdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e334309e4acef55d54e146330d6f83925cd5e33630759af1119957ced9c3fdf", kill_on_drop: false }`
[INFO] [stdout] 5e334309e4acef55d54e146330d6f83925cd5e33630759af1119957ced9c3fdf
